<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>NFT拍卖平台</title>

    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/buttons.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<style>
    #__bs_notify__
    {display: none !important;}
</style>

<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">NFT拍卖平台</a>
        </div>
        <div>
            <ul class="nav navbar-nav">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        我的NFT
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="index.html">NFT铸造/认领</a></li>
                        <li class="divider"></li>
                        <li><a href="MyNFT.html">铸造的NFT</a></li>
                        <li class="divider"></li>
                        <li><a href="AuctionNFT.html">拍卖的NFT</a></li>
                        <li class="divider"></li>
                        <li><a href="BoughtNFT.html">购入的NFT</a></li>
                    </ul>
                </li>
                <li><a href="Auction.html">拍卖大厅</a></li>
            </ul>
        </div>
    </div>
</nav>

<body>
<div class="container">
    <div class="row">
        <div class="col-xs-12 col-sm-8 col-sm-push-2">
            <h1 class="text-center">我铸造的NFTs</h1>
            <hr/>
            <br/>
        </div>
    </div>
    <p id="test"></p>
    <!-- 按钮触发模态框 -->

    <p id="none">      </p>
    <div id="NFTsRow" class="row">
        <!-- NFTs LOAD HERE -->
    </div>
</div>

<div id="NFT-template" style="display: none;">
    <div class="col-sm-6 col-md-4 col-lg-3">
        <div class="panel panel-default panel-pet">
            <div class="panel-heading">
                <h3 class="panel-title">Scrappy</h3>
            </div>
            <div class="panel-body">
                <img alt="140x140" data-src="holder.js/140x140" class="img-rounded img-center" style="width: 100%;" src="https://animalso.com/wp-content/uploads/2017/01/Golden-Retriever_6.jpg" >
                <br/><br/>
                <!--<strong>Breed</strong>: <span class="pet-breed">Golden Retriever</span><br/>-->
                <center><strong>Price</strong>: <span class="card-price">3</span><br/>
                    <strong>Text</strong>: <span class="card-text">Warren, MI</span><br/><br/>
                    <button class="button button-primary button-pill button-glow btn-create-auction" type="button" data-toggle="modal" data-target="#AucModal" data-id="0">拿去拍卖</button>
                </center>
            </div>
        </div>
    </div>
</div>

<!-- 模态框（Modal） -->
<div class="modal fade" id="AucModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width:400px">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="AucModalLabel">发布拍卖</h4>
            </div>
            <form role="form">
                <div class="form-group">
                    <div class="modal-body">
                        <label for="auction-price">起拍价格</label><input type="text" class="form-control" id="auction-price"
                                                                      placeholder="请输入起拍价(单位-ether)">
                    </div>
                </div>
                <div class="form-group">
                    <div class="modal-body">
                        <label for="ending-date">结束日期</label>

                        <input id="ending-date" class="form-control" type="datetime-local" value=""/>
                    </div>
                </div>
                <div id="temp" class="modal-footer">
                    <button type="submit" class="btn btn-primary btn-go-auction" data-id="0">发布</button>
                </div>
            </form>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>


<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script src="js/web3.min.js"></script>
<script src="js/truffle-contract.js"></script>
<script src="js/app.js"></script>
</body>
</html>
